/**
 * Copyright (c) 2015 https://github.com/howiefh
 *
 * Licensed under the Apache License, Version 2.0 (the "License")
 */
package com.tyijian.admin.repository.jpa;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.tyijian.admin.entity.SysRole;

public interface RoleDao extends PagingAndSortingRepository<SysRole, Long>, JpaSpecificationExecutor<SysRole>{
    /**
     * 通过名称查找角色
     * 
     * @param name
     * @return
     */
    public SysRole findByName(String name);

  
}